# This code is part of the MWP System
# Copyright (c) 2012 Benjamin Lubin (blubin@bu.com) 
# Published under and subject to the GPLv2 license available at http://www.gnu.org/licenses/gpl-2.0.html

'''
Created on Dec 18, 2012
@author: blubin
'''

from frontend.roleApplication import RoleApplication;
from frontend.form import Type;
from unique import UNIQUE;

class EngineerApplication(RoleApplication):

    def __init__(self):
        super(EngineerApplication, self).__init__("CharacterCreation"+UNIQUE, "Engineer");
        self.register_transition_step("ImplementCharacter", self.character_implementation_form_creator, name_fields=["Name"]);        
        
    def character_implementation_form_creator(self, stepname, form):
        form.add_task_label(fields=["Name"]);
        form.add_field(Type.LONGSTRING, "ImplementationDetails", labeltext="Implementation Details: ");

if __name__ == '__main__':
    app = EngineerApplication();
    app.MainLoop();